package day02;

import java.math.BigDecimal;

//long类型演示
public class LongDemo {
    public static void main(String[] args) {
        //long长整型，占8个字节，大小范围是-2^63到2^63-1（正负900万万亿）
        long a = 25L;
        long c = 1000000L;
        long b = 100000000000000000L;
        long d = 1000000000*2*10L;
        System.out.println(d);
        long e= 1000000000*3*10L;//溢出了
        System.out.println(e);
        long f= 10000000000000L*3*10;
        System.out.println(f);
        System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
//        BigDecimal q = 1.112312312312313123;

    }
}
